package org.dochandler.service;

import java.util.List;

import org.dochandler.esfinge.guardian.annotation.authorization.StateOfWar;
import org.dochandler.service.domain.Document;
import org.esfinge.guardian.abac.annotation.authorization.Rule;

public interface OfficerService {
	
	@Rule("2 >= 3")
	Document accessDocument(Long documentId);
	
	@Rule("2 > 3")
	List<Document> listDocuments();
	
	boolean createDocument(Document document);
	
	@StateOfWar
	boolean createAttackDocument(Document document);
	
}